package com.huang.yygh.hosp.repository;

import com.huang.yygh.model.hosp.Hospital;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author HuangShen
 * @description: mongodb
 * @date 2021/5/3 21:39
 */
@Repository
public interface HospitalRepository extends MongoRepository<Hospital,String> {

    Hospital getHospitalByHoscode(String hoscode);
}
